AbilityPokemon

@Serializable
data class AbilityPokemon(val isHidden: Boolean, val slot: Int, val pokemon: Handle.Named<PokemonVariety>)(source)

Pokémon that could potentially have this ability. See: https://pokeapi.co/docs/v2#abilitypokemon

Parameters

isHidden

Whether or not this is a hidden ability for the referenced Pokémon.

slot

The slot this ability occupies for the referenced Pokémon.

pokemon

The Pokémon that has the referenced ability.

Constructors

Link copied to clipboard
constructor(isHidden: Boolean, slot: Int, pokemon: Handle.Named<PokemonVariety>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val slot: Int